﻿@using KMF.WebUI.Areas.KMFadmin.CustomHelpers
@model List<KMF.Common.ProductListForPagingDto>

@if (Model != null)
{
    var count=0;
    foreach (var item in Model)
    {
        count++;
        <tr class="trHeight">
            <td style="width: 30px; vertical-align: middle;">
                @count
            </td>
            <td style="vertical-align: middle;text-align: left;">
                <b>@item.Barcode</b>
            </td>
            <td style="text-align: center; width: 30px;">
                <img src="@item.ImagePath.ImagePathThumb(35, 35)" width="35" height="35">
            </td>
            <td style="text-align: left;">
                @item.Name
            </td>
            <td style="vertical-align: middle;">
                @item.CreateDate
            </td>
            <td style="vertical-align: middle;">
                @Html.CheckBox("chkHot", Convert.ToBoolean(item.STT))
            </td>
            <td>
                <a class="icon-delete bootstrapTangoSmall btnDelTogether" href="javascript:void(0);" idata="@item.Id" onclick="DelProductHot(this);" title="Xóa sp này">Xóa</a>
            </td>
        </tr>
    }
}